import pages from './autoLoad';

export default [
  {
    path: '/',
    redirect: pages.auth
  },
  {
    name:'auth',
    path:'/index/auth',
    component: pages.auth,
    meta:{
      tabl:true
    },
  },
  {
    name:'search01',
    path:'/index/search01',
    component: pages.search01,
    children:[{
        name:'SearchLenovo',
        path:'/index/SearchLenovo',
        component: pages.SearchLenovo,
    }]
  },
  {
    name:'searchTwo',
    path: '/index/searchTwo',
    component:pages.searchTwo
  },
  {
    name:'pd_today',
    path: '/index/PD-today/pd_today',
    component:pages.pd_today,
    redirect:'/index/PD-today/underway',
    children: [
      {name:'underway',
        path: '/index/PD-today/underway',
        component:pages.underway,},
      {name:'tomorrow',
        path: '/index/PD-today/tomorrow',
        component:pages.tomorrow,}
    ]
  },
  {
    name: 'commodity',
    path: '/index/commodity/commodity',
    component: pages.commodity
  },
  {
    name: 'hotspell',
    path: '/index/HotSpell/hotspell',
    component:pages.hotspell
  },
  {
    name:'PersonalCenter',
    path:'/auth/PersonalCenter',
    component: pages.PersonalCenter,
    meta:{
      tabl:true
    }
  },
  {
    name:'login',
    path:'/auth/login',
    component:pages.login
  },
  {
    name:'register',
    path:'/auth/register',
    component:pages.register
  },
  {
    name: 'goods',
    path:'/goods/goods',
    component: pages.goods,
    meta:{
      tabl:true
    }
  },
  {
    name: 'introduced',
    path:'/introduced/introduced',
    component: pages.introduced,
    meta:{
      tabl:true
    }
  },
  {
    name: 'recommendation',
    path:'/recommendation/recommendation',
    component: pages.recommendation,
    meta:{
      tabl:true
    }
  },
  {
    path: '/myCommodity/site',
    component: pages.site,
    name: 'site'
  },
  {
    path: '/myCommodity/new_site',
    component: pages.new_site,
    name: 'new_site'
  }
]
